Fix ID3 tag editing on GVFS-mounted filesystems#1894
Draft
Conversation
Add SaveFileWithFallback helper function that uses atomic write pattern when direct TagLib save fails. Refactor WriteFile, SaveEmbeddedCover, SaveSongPlaycount, and SaveSongRating to use this helper. Co-authored-by: jonaski <10343810+jonaski@users.noreply.github.com>
- Apply modifications in SaveFileWithFallback before attempting direct save - Remove duplicate return statement in SaveSongRating Co-authored-by: jonaski <10343810+jonaski@users.noreply.github.com>
Co-authored-by: jonaski <10343810+jonaski@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix issue with editing ID3 tags in GVFS mounted folder
Fix ID3 tag editing on GVFS-mounted filesystems
Dec 17, 2025
Member
|
@copilot Can you rebase this with master? |
Copilot stopped work on behalf of
jonaski due to an error
December 18, 2025 22:13
Member
|
@copilot Can you rebase this against the latest master branch? |
Contributor
Author
I've rebased the PR against the latest master branch. The changes now integrate properly with the new ID3v2 version support that was added to master while preserving the GVFS atomic write workaround functionality. |
Copilot stopped work on behalf of
jonaski due to an error
December 27, 2025 20:46
Member
|
@copilot Retry rebase |
Contributor
Author
Copilot stopped work on behalf of
jonaski due to an error
January 8, 2026 23:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix GVFS tag editing - Rebase Complete
Changes
Successfully rebased onto latest master with full ID3v2 version support integration.
Core Implementation:
SaveFileWithFallback()helper that handles atomic write fallback for GVFSWriteFile()to wrap all tag modifications AND ID3v2-aware save logic in a lambdaHow it works:
The solution preserves all new features from master while adding GVFS support. Regular filesystems use the fast direct path; GVFS automatically uses the workaround.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.